<%= alchemy_form_for [:admin, @content] do |f| %>
  <%= f.hidden_field :element_id %>
  <%= hidden_field_tag('options', @options.to_json) %>
  <%= f.input :name, collection: @contents.map { |content|
      [
        Alchemy.t(content['name'], scope: 'content_names', default: content['name'].humanize),
        content['name']
      ]
    }, include_blank: false, input_html: {class: 'alchemy_selectbox'} %>
  <%= f.submit Alchemy.t(:create) %>
<% end %>
